<div class="page-header">
    <h1>
        渠道日报表
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            每天 00:20 更新至前一天的报表数据。
        </small>
    </h1>
</div>
<div class="row">
    <div class="col-xs-12">
        <table id="dtpList" class="dataTable dataTable-auto">
            <thead>
            <tr>
                <th rowspan="2" class="center" style="min-width: 55px">日期</th>
                <th rowspan="2" class="center">渠道ID</th>
                <th colspan="3" class="center">基础数据</th>
                <th colspan="5" class="center">注册数据</th>
                <th colspan="3" class="center">活跃数据</th>
                <th colspan="2" class="center">充值数据</th>
                <th rowspan="2" class="center">金币消耗</th>
                <th colspan="3" class="center">官方营收</th>
                <th colspan="9" class="center">留存数据</th>
                <th colspan="3" class="center">礼物数据</th>
                <th colspan="2" class="center">守护数据</th>
                <th colspan="2" class="center">喇叭数据</th>
                <th colspan="2" class="center">VIP数据</th>
                <th colspan="2" class="center">座骑数据</th>
                <th colspan="4" class="center">游戏</th>
            </tr>
            <tr>
                <th class="center">PV</th>
                <th class="center">UV</th>
                <th class="center">IP</th>

                <th class="center">注册</th>
                <th class="center"><i class="fa fa-desktop bigger-120"></i></th>
                <th class="center"><i class="fa fa-apple bigger-120"></i></th>
                <th class="center"><i class="fa fa-android bigger-120"></i></th>
                <th class="center">率</th>

                <th class="center">登录</th>
                <th class="center">总注册</th>
                <th class="center">率</th>

                <th class="center">用户</th>
                <th class="center">金额</th>

                <th class="center">收入</th>
                <th class="center">成本</th>
                <th class="center"><span class="tooltip-" data-rel="tooltip" data-original-title="此毛利没有计算 艺人底薪、艺人金豆提成、公会金豆提成">毛利</span></th>

                <th class="center">次日</th>
                <th class="center">2日</th>
                <th class="center">3日</th>
                <th class="center">4日</th>
                <th class="center">5日</th>
                <th class="center">6日</th>
                <th class="center">7日</th>
                <th class="center">14日</th>
                <th class="center">30日</th>

                <th class="center">数量</th>
                <th class="center">金额</th>
                <th class="center">返币</th>

                <th class="center">次数</th>
                <th class="center">金额</th>

                <th class="center">次数</th>
                <th class="center">金额</th>

                <th class="center">用户</th>
                <th class="center">金额</th>

                <th class="center">用户</th>
                <th class="center">金额</th>

                <th class="center">用户</th>
                <th class="center">金额</th>
                <th class="center">返币</th>
                <th class="center">收入</th>
            </tr>
            </thead>
        </table>
        <div id="dtpList_filter" class="dataTables_filter">
            <div>
                <select id="dtpList_F_SType" class="selectpicker" data-style="btn btn-info btn-sm" data-width="90px">
                    <option value="">模糊查询</option>
                    <option data-divider="true"></option>
                    <option value="Channel_ID">渠道ID</option>
                </select>
                <input id="dtpList_F_SValue" class="fvalue" type="text"/>
                <input id="dtpList_F_StartDate" type="text" style="width: 76px;" placeholder="开始时间">
                <label>-</label>
                <input id="dtpList_F_EndDate" type="text" style="width: 76px;" placeholder="结束时间">
                <select id="dtpList_F_SelectDate"></select>
                <label>有效过滤：</label>
                <label><input name="dtpList_F_Effective" value="-1" type="radio">&nbsp;所有</label>
                <label><input name="dtpList_F_Effective" value="1" type="radio" checked="checked">&nbsp;有效</label>
                <label><input name="dtpList_F_Effective" value="0" type="radio">&nbsp;无效</label>
                <label>统计：</label>
                <select id="dtpList_F_Group">
                    <option Value="">不分组</option>
                    <option disabled="disabled">--------</option>
                    <option Value="Day">按天</option>
                    <option Value="Channel">按渠道</option>
                </select>
                <a id="dtpList_F_Advanced"></a>
                <button id="dtpList_F_Btn"></button>
            </div>
            <div>
                <label>显示：</label>
                <label><input name="dtpList_F_Show" value="Retention" type="checkbox">&nbsp;留存数据</label>
                <label><input name="dtpList_F_Show" value="Gift" type="checkbox">&nbsp;礼物数据</label>
                <label><input name="dtpList_F_Show" value="Guardian" type="checkbox">&nbsp;守护数据</label>
                <label><input name="dtpList_F_Show" value="Horn" type="checkbox">&nbsp;喇叭数据</label>
                <label><input name="dtpList_F_Show" value="VIP" type="checkbox">&nbsp;VIP数据</label>
                <label><input name="dtpList_F_Show" value="Mounts" type="checkbox">&nbsp;座骑数据</label>
                <label><input name="dtpList_F_Show" value="Game" type="checkbox">&nbsp;游戏数据</label>
            </div>
        </div>
    </div>
</div>
<script src="<%- Virtual_Path.Static %>jquery.plugin/dataTables/jquery.dataTables.min.js"></script>
<script src="<%- Virtual_Path.Static %>jquery.plugin/dataTables/jquery.dataTables.bootstrap.min.js"></script>
<script>
    $(function () {
        //region ThisPage
        var _ThisPage = {
            dtpList: $('#dtpList'),
            ListShow: {
                Retention: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Retention"]'),
                    Index: [19, 20, 21, 22, 23, 24, 25, 26, 27],
                    Width: 450
                },
                Gift: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Gift"]'),
                    Index: [28, 29, 30],
                    Width: 230
                },
                Guardian: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Guardian"]'),
                    Index: [31, 32],
                    Width: 135
                },
                Horn: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Horn"]'),
                    Index: [33, 34],
                    Width: 135
                },
                VIP: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="VIP"]'),
                    Index: [35, 36],
                    Width: 135
                },
                Mounts: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Mounts"]'),
                    Index: [37, 38],
                    Width: 135
                },
                Game: {
                    Object: $('input:checkbox[name="dtpList_F_Show"][value="Game"]'),
                    Index: [39, 40, 41, 42],
                    Width: 230
                }
            },
            ListWidth: 0,
            ListWidthInit: 1200,
            ListWidthMin: 0
        };
        _ThisPage.ListRow = _ThisPage.dtpList.closest('.row');
        _ThisPage.ListWidthMin = _ThisPage.ListRow.innerWidth() - 20 > _ThisPage.ListWidthInit ? _ThisPage.ListRow.innerWidth() - 20 : _ThisPage.ListWidthInit;
        _ThisPage.ListShow.Gift.Checked = _ThisPage.ListShow.Gift.Object.prop('checked');
        _ThisPage.ListShow.Guardian.Checked = _ThisPage.ListShow.Guardian.Object.prop('checked');
        _ThisPage.ListShow.Horn.Checked = _ThisPage.ListShow.Horn.Object.prop('checked');
        _ThisPage.ListShow.VIP.Checked = _ThisPage.ListShow.VIP.Object.prop('checked');
        _ThisPage.ListShow.Mounts.Checked = _ThisPage.ListShow.Mounts.Object.prop('checked');
        _ThisPage.ListShow.Game.Checked = _ThisPage.ListShow.Game.Object.prop('checked');
        //endregion
        //region 时间输入框插件
        $('#dtpList_F_StartDate, #dtpList_F_EndDate').datetimepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            minView: 2,
            autoclose: true
        });
        //endregion
        //region 绑定日期选择框
        $.KOC.Date.Select.Bind({
            eSelect: $('#dtpList_F_SelectDate'),
            eBegin: $('#dtpList_F_StartDate'),
            eEnd: $('#dtpList_F_EndDate'),
            Default: 'Month-N'
        });
        //endregion
        //region 显示事件绑定
        $('input:checkbox[name="dtpList_F_Show"]').change(function () {
            if (!_ThisPage.dtpList) {
                return;
            }
            var _Data = _ThisPage.ListShow[$(this).val()];
            if (!_Data) {
                return;
            }
            _Data.Checked = $(this).prop('checked');
            _.forEach(_Data.Index, function (ThisValue) {
                _ThisPage.dtpList.api(true).column(ThisValue).visible(_Data.Checked);
            });
            if (_Data.Checked) {
                $.Common.Bootstrap.Tooltip(_ThisPage.dtpList);
            }
            _ThisPage.ListWidth += _Data.Width * (_Data.Checked ? 1 : -1);
            _ThisPage.ListRow.css('min-width', (_ThisPage.ListWidth < _ThisPage.ListWidthMin ? _ThisPage.ListWidthMin : _ThisPage.ListWidth) + 'px');
        });
        //endregion
        //region dtpList
        _ThisPage.dtpList = _ThisPage.dtpList.dataTable({
            'aoColumns': [
                { //日期
                    'data': 'Report_Day', 'sClass': 'center',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).text(cellData ? moment(cellData).format('MM/DD') : '');
                    }
                },
                { //渠道ID
                    'data': 'Channel_ID', 'sName': 'Channel_ID', 'sClass': 't-left'
                },
                { //基础数据-PV
                    'data': 'PV', 'sName': 'PV', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //基础数据-UV
                    'data': 'UV', 'sName': 'UV', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //基础数据-IP
                    'data': 'IP', 'sName': 'IP', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //注册数据-注册
                    'data': 'SignUp', 'sName': 'SignUp', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'right',
                                'data-html': true,
                                'data-original-title': '&gt; 注册-手机：' + rowData.SignUp_Phone + ' 人'
                                + '<br/>&gt; 注册-QQ：' + rowData.SignUp_QQ + ' 人'
                                + '<br/>&gt; 注册-微信：' + rowData.SignUp_Weixin + ' 人'
                                + '<br/>&gt; 注册-微博：' + rowData.SignUp_Weibo + ' 人'
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总注册：' + cellData + ' 人'
                            }).text(cellData) : '0');
                    }
                },
                { //注册数据-PC
                    'data': 'SignUp_PC', 'sName': 'SignUp_PC', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //注册数据-iOS
                    'data': 'SignUp_IOS', 'sName': 'SignUp_IOS', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //注册数据-Android
                    'data': 'SignUp_Android', 'sName': 'SignUp_Android', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //注册数据-转化率
                    'data': 'SignUp_Rate', 'sName': 'SignUp_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(rowData.UV && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'right',
                                'data-html': true,
                                'data-original-title': '&gt; 注册：' + rowData.SignUp + ' 人'
                                + '<br/>&gt; UV：' + rowData.UV
                                + '<br/>----------------------------------------------------------'
                                + '<br/>&gt; 注册率：' + $.KOC.String.ToCurrencyPositiveStr(cellData * 100) + '%'
                            }).text(cellData < 2 ? $.KOC.String.ToCurrencyPositiveStr(cellData * 100) : '∞') : '0.00');
                    }
                },
                { //日活数据-登录
                    'data': 'SignIn', 'sName': 'SignIn', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 登录-PC：' + rowData.SignIn_PC + ' 人'
                                + '<br/>&gt; 登录-iOS：' + rowData.SignIn_IOS + ' 人'
                                + '<br/>&gt; 登录-Android：' + rowData.SignIn_Android + ' 人'
                                + '<br/>----------------------------------------------------------'
                                + '<br/>&gt; 登录：' + cellData + ' 人'
                            }).text(cellData) : '0');
                    }
                },
                { //日活数据-总注册
                    'data': 'SignUp_Total', 'sName': 'SignUp_Total', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 渠道总注册-PC：' + rowData.SignUp_PC_Total + ' 人'
                                + '<br/>&gt; 渠道总注册-iOS：' + rowData.SignUp_IOS_Total + ' 人'
                                + '<br/>&gt; 渠道总注册-Android：' + rowData.SignUp_Android_Total + ' 人'
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 渠道总注册-手机：' + rowData.SignUp_Phone + ' 人'
                                + '<br/>&gt; 渠道总注册-QQ：' + rowData.SignUp_QQ + ' 人'
                                + '<br/>&gt; 渠道总注册-微信：' + rowData.SignUp_Weixin + ' 人'
                                + '<br/>&gt; 渠道总注册-微博：' + rowData.SignUp_Weibo + ' 人'
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 渠道总注册：' + rowData.SignUp_Total + ' 人'
                            }).text(cellData) : '0');
                    }
                },
                { //日活数据-活跃率
                    'data': null, 'sName': 'Active_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.SignIn && rowData.SignUp_Total ? '' : 'light-grey').html(rowData.SignIn && rowData.SignUp_Total ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 时段登录：' + rowData.SignIn
                                + '<br/>&gt; 渠道总注册：' + rowData.SignUp_Total + ' 人'
                                + '<br/>----------------------------------------------------------'
                                + '<br/>&gt; 活跃率：' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignIn / rowData.SignUp_Total * 100) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(rowData.SignIn / rowData.SignUp_Total * 100)) : '0.00');
                    }
                },
                { //充值数据-用户
                    'data': 'Charge_UserCount', 'sName': 'Charge_UserCount', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 时段充值用户：' + cellData + ' 人'
                                + '<br/>&gt; 时段首充用户：' + rowData.Charge_UserCount_First + ' 人'
                                + '<br/>&gt; 渠道总充值用户：' + rowData.Charge_UserCount_Total + ' 人'
                            }).text(cellData) : '0');
                    }
                },
                { //充值数据-金额
                    'data': 'Charge_Coin', 'sName': 'Charge_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Charge_Amt ? '' : 'light-grey').html(rowData.Charge_Amt ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '＋ 充值总额：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Charge_Amt)
                                + '<br/>－ 充值手续费：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Charge_Poundage / 1000)
                                + '<br/>----------------------------------------------------------'
                                + '<br/>＝ 充入金币：￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000)
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / 1000)) : '0.00');
                    }
                },
                { //充值数据-金币消耗
                    'data': 'Coin', 'sName': 'Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '＋ 礼物赠送：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Gift_Coin / 1000) + ' / ' + rowData.Gift_UserCount + '人' + ' / ' + rowData.Gift_Count + '次'
                                + '<br/>＋ 喇叭使用：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Horn_Coin / 1000) + ' / ' + rowData.Horn_UserCount + '人' + ' / ' + rowData.Horn_Count + '次'
                                + '<br/>＋ 守护赠送：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Guardian_Coin / 1000) + ' / ' + rowData.Guardian_UserCount + '人' + ' / ' + rowData.Guardian_Count + '次'
                                + '<br/>＋ VIP购买：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.VIP_Coin / 1000) + ' / ' + rowData.VIP_UserCount + '人' + ' / ' + rowData.VIP_Count + '次'
                                + '<br/>＋ 座骑购买：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Mounts_Coin / 1000) + ' / ' + rowData.Mounts_UserCount + '人' + ' / ' + rowData.Mounts_Count + '次'
                                + '<br/>＋ 幸运转盘抽奖：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Lottery_Coin / 1000) + ' / ' + rowData.Lottery_UserCount + '人' + ' / ' + rowData.Lottery_Count + '次'
                                + '<br/>----------------------------------------------------------'
                                + '<br/>＝ 金币总消耗：￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000)
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / 1000)) : '0.00');
                    }
                },
                { //官方营收-收入
                    'data': 'Income', 'sName': 'Income', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '＋ 礼物收入：￥'
                                + '<br/>＋ 喇叭收入：￥'
                                + '<br/>＋ 守护收入：￥'
                                + '<br/>＋ VIP收入：￥'
                                + '<br/>＋ 座骑收入：￥'
                                + '<br/>＋ 幸运转盘收入：￥'
                                + '<br/>----------------------------------------------------------'
                                + '<br/>＝ 总收入：￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000)
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / 1000)) : '0.00');
                    }
                },
                { //官方营收-成本
                    'data': 'Cost', 'sName': 'Cost', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData ? '' : 'light-grey').html(cellData ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '＋ 幸运礼物返币：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Gift_LuckyCoin / 1000)
                                + '<br/>＋ 礼物爆奖：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Gift_PondCoin / 1000)
                                + '<br/>＋ 幸运转盘返奖：￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Lottery_WinningAmt / 1000)
                                + '<br/>----------------------------------------------------------'
                                + '<br/>＝ 总成本：￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000)
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / 1000)) : '0.00');
                    }
                },
                { //官方营收-毛利
                    'data': 'Profit', 'sName': 'Profit', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Income - rowData.Cost >= 0 ? 'green' : 'red').text($.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //留存数据-次日
                    'data': 'SignUp_Retention_1', 'sName': 'SignUp_Retention_1_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_1 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_1 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_1 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_1 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_1 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_1 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-2日
                    'data': 'SignUp_Retention_2', 'sName': 'SignUp_Retention_2_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_2 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_2 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_2 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_2 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_2 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_2 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-3日
                    'data': 'SignUp_Retention_3', 'sName': 'SignUp_Retention_3_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_3 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_3 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_3 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_3 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_3 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_3 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-4日
                    'data': 'SignUp_Retention_4', 'sName': 'SignUp_Retention_4_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_4 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_4 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_4 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_4 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_4 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_4 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-5日
                    'data': 'SignUp_Retention_5', 'sName': 'SignUp_Retention_5_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_5 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_5 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_5 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_5 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_5 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_5 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-6日
                    'data': 'SignUp_Retention_6', 'sName': 'SignUp_Retention_6_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_6 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_6 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_6 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_6 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_6 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_6 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-7日
                    'data': 'SignUp_Retention_7', 'sName': 'SignUp_Retention_7_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_7 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_7 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_7 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_7 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_7 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_7 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-14日
                    'data': 'SignUp_Retention_14', 'sName': 'SignUp_Retention_14_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_14 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_14 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_14 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_14 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_14 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_14 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //留存数据-30日
                    'data': 'SignUp_Retention_30', 'sName': 'SignUp_Retention_30_Rate', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(cellData && rowData.SignUp ? '' : 'light-grey').html(cellData && rowData.SignUp ? $('<label class="tooltip-"/>').attr({
                                'data-rel': 'tooltip',
                                'data-placement': 'left',
                                'data-html': true,
                                'data-original-title': '&gt; 留存-PC：' + (rowData.SignUp_PC ? rowData.SignUp_PC_Retention_30 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_PC_Retention_30 / rowData.SignUp_PC) + '%' : '-')
                                + '<br/>&gt; 留存-iOS：' + (rowData.SignUp_IOS ? rowData.SignUp_IOS_Retention_30 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_IOS_Retention_30 / rowData.SignUp_IOS) + '%' : '-')
                                + '<br/>&gt; 留存-Android：' + (rowData.SignUp_Android ? rowData.SignUp_Android_Retention_30 + ' / ' + $.KOC.String.ToCurrencyPositiveStr(rowData.SignUp_Android_Retention_30 / rowData.SignUp_Android) + '%' : '-')
                                + '<br/><br/>**********************************'
                                + '<br/>&gt; 总留存：' + cellData + ' / ' + $.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp) + '%'
                            }).text($.KOC.String.ToCurrencyPositiveStr(cellData / rowData.SignUp)) : '0.00');
                    }
                },
                { //礼物数据-数量
                    'data': 'Gift_Num', 'sName': 'Gift_Num', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //礼物数据-金额
                    'data': 'Gift_Coin', 'sName': 'Gift_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //礼物数据-返币
                    'data': 'Gift_LuckyCoin', 'sName': 'Gift_LuckyCoin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Gift.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //守护数据-次数
                    'data': 'Guardian_Count', 'sName': 'Guardian_Count', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Guardian.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //守护数据-金额
                    'data': 'Guardian_Coin', 'sName': 'Guardian_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Guardian.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //喇叭数据-次数
                    'data': 'Horn_Count', 'sName': 'Horn_Count', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Horn.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //喇叭数据-金额
                    'data': 'Horn_Coin', 'sName': 'Horn_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Horn.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //VIP数据-用户
                    'data': 'VIP_UserCount', 'sName': 'VIP_UserCount', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.VIP.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //VIP数据-金额
                    'data': 'VIP_Coin', 'sName': 'VIP_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.VIP.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //座骑数据-用户
                    'data': 'Mounts_UserCount', 'sName': 'Mounts_UserCount', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Mounts.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey');
                    }
                },
                { //座骑数据-金额
                    'data': 'Mounts_Coin', 'sName': 'Mounts_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Mounts.Checked,
                    'createdCell': function (td, cellData) {
                        $(td).addClass(cellData ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(cellData / 1000));
                    }
                },
                { //游戏数据-用户
                    'data': null, 'sName': 'Game_UserCount', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Game.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Lottery_UserCount ? '' : 'light-grey').text(rowData.Lottery_UserCount);
                    }
                },
                { //游戏数据-金额
                    'data': null, 'sName': 'Game_Coin', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Game.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Lottery_Coin ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Lottery_Coin / 1000));
                    }
                },
                { //游戏数据-返奖
                    'data': null, 'sName': 'Game_Return', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Game.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Lottery_WinningAmt ? '' : 'light-grey').text('￥' + $.KOC.String.ToCurrencyPositiveStr(rowData.Lottery_WinningAmt / 1000));
                    }
                },
                { //游戏数据-利润
                    'data': null, 'sName': 'Game_Profit', 'sClass': 't-right',
                    'orderSequence': ['desc', 'asc'],
                    'bVisible': _ThisPage.ListShow.Game.Checked,
                    'createdCell': function (td, cellData, rowData) {
                        $(td).addClass(rowData.Lottery_Coin - rowData.Lottery_WinningAmt >= 0 ? 'green' : 'red').html($('<label class="tooltip-"/>').attr({
                            'data-rel': 'tooltip',
                            'data-placement': 'left',
                            'data-html': true,
                            'data-original-title': '＋ 幸运转盘利润：￥' + $.KOC.String.ToCurrencyStr((rowData.Lottery_Coin - rowData.Lottery_WinningAmt) / 1000) + ' / ' + rowData.Lottery_Count + ' 次'
                            + '<br/>----------------------------------------------------------'
                            + '<br/>＝ 总利润：￥' + $.KOC.String.ToCurrencyStr((rowData.Lottery_Coin - rowData.Lottery_WinningAmt) / 1000)
                        }).text($.KOC.String.ToCurrencyStr((rowData.Lottery_Coin - rowData.Lottery_WinningAmt) / 1000)));
                    }
                }
            ],
            'aaSorting': [0, 'desc'],
            'sAjaxSource': '/ajax/report.page.channelday',
            'fnServerParams': function (aoData) {
                if (!this.arrPageFilter) {
                    this.arrPageFilter = {
                        F_StartDate: $(this.selector + '_F_StartDate').val(),
                        F_EndDate: $(this.selector + '_F_EndDate').val(),
                        F_Effective: $('input:radio[name="' + this.selector.replace('#', '') + '_F_Effective"]:checked').val(),
                        F_Group: $(this.selector + '_F_Group').val()
                    };
                    switch (this.arrPageFilter.F_Group) {
                        case "Day":
                            this.api(true).column(0).visible(true);
                            this.api(true).column(1).visible(false);
                            _ThisPage.ListWidth = _ThisPage.ListWidthInit - 120;
                            break;
                        case "Channel":
                            this.api(true).column(0).visible(false);
                            this.api(true).column(1).visible(true);
                            _ThisPage.ListWidth = _ThisPage.ListWidthInit - 60;
                            break;
                        default:
                            this.api(true).column(0).visible(true);
                            this.api(true).column(1).visible(true);
                            _ThisPage.ListWidth = _ThisPage.ListWidthInit;
                            break;
                    }
                    _ThisPage.ListWidth += (_ThisPage.ListShow.Retention.Checked ? _ThisPage.ListShow.Retention.Width : 0)
                        + (_ThisPage.ListShow.Gift.Checked ? _ThisPage.ListShow.Gift.Width : 0)
                        + (_ThisPage.ListShow.Guardian.Checked ? _ThisPage.ListShow.Guardian.Width : 0)
                        + (_ThisPage.ListShow.Horn.Checked ? _ThisPage.ListShow.Horn.Width : 0)
                        + (_ThisPage.ListShow.VIP.Checked ? _ThisPage.ListShow.VIP.Width : 0)
                        + (_ThisPage.ListShow.Mounts.Checked ? _ThisPage.ListShow.Mounts.Width : 0)
                        + (_ThisPage.ListShow.Game.Checked ? _ThisPage.ListShow.Game.Width : 0);
                    if (_ThisPage.ListWidth < _ThisPage.ListWidthMin) {
                        _.forEach(['Retention', 'Gift', 'Guardian', 'Horn', 'VIP', 'Mounts', 'Game'], function (ThisValue) {
                            ThisValue = _ThisPage.ListShow[ThisValue];
                            if (ThisValue && !ThisValue.Checked) {
                                if (_ThisPage.ListWidth + ThisValue.Width > _ThisPage.ListWidthMin) {
                                    return false;
                                }
                                ThisValue.Object.click();
                            }
                        });
                    }
                    _ThisPage.ListRow.css('min-width', (_ThisPage.ListWidth < _ThisPage.ListWidthMin ? _ThisPage.ListWidthMin : _ThisPage.ListWidth) + 'px');
                } else {
                    $(this.selector + '_F_StartDate').val(this.arrPageFilter.F_StartDate);
                    $(this.selector + '_F_EndDate').val(this.arrPageFilter.F_EndDate);
                    $('input:radio[name="' + this.selector.replace('#', '') + '_F_Effective"][value="' + this.arrPageFilter.F_Effective + '"]').prop('checked', true);
                    $(this.selector + '_F_Group').val(this.arrPageFilter.F_Group);
                }
                this.ofnServerParams(aoData);
            },
            'fnFooterCallback': function (nFoot, aData) {
            },
            'fnDrawCallback': function () {
                $.Common.Bootstrap.Tooltip(this);
                this.ofnDrawCallback();
            }
        });
        //endregion
    });
</script>